package com.getbyte.plbc;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Scanner;

/**
 * @author げっしょく
 * @date 2021/8/4
 */
public class Demo3 {
    public static void main(String[] args) throws IOException {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入账户：");
        String id = sc.nextLine();
        System.out.println("请输入密码：");
        String id2 = sc.nextLine();
        FileWriter fw = new FileWriter("Day13\\ID.txt");
        fw.write(id );
        fw.write("\r\n");
        fw.write(id2);
        fw.flush();
        fw.close();
    }

}
